{***********************
カレンダーコンポーネントデザインテンプレート
************************}
{*** スタイルシート ***}
{literal}
<style type="text/css">
<!--
body,td {
	font-size: 12px;
}

.daysh {
	background-color: #FDE0E0;
	border-color: #FFFFFF #C0C0C0 #C0C0C0 #FFFFFF;
	border-style: solid;
	border-width: 1px;
	padding: 0;
}

.days {
	background-color: #EEEEEE;
	border-color: #FFFFFF #C0C0C0 #C0C0C0 #FFFFFF;
	border-style: solid;
	border-width: 1px;
	padding: 0;
}

.dayss {
	background-color: #C9DBE6;
	border-color: #FFFFFF #C0C0C0 #C0C0C0 #FFFFFF;
	border-style: solid;
	border-width: 1px;
	padding: 0;
}

.holiday {
	background-color: #FDE0E0;
}

.saturday {
	background-color: #C9DBE6;
}

.today {
	background-color: #FFFFFF;
	border: 2px solid #FFCC33;
	padding: 0;
}

.bgc {
	background-color: #7694C8;
}

.bge {
	background-color: #EEF3FB;
}

.bgf {
	background-color: #FFFFFF;
}

body,td {
	font-size: 12px;
}
-->
</style>
{/literal}

{*** JAVASCRIPT ***}
{literal}
<script language="JavaScript">
<!--

-->
</script>
{/literal}

<table cellspacing="0" cellpadding="0" border="0" width="950px" style="text-align: left;">
	<tbody>
		<tr>
			<td class="bgc">

			<table cellspacing="1" cellpadding="1" border="0" width="100%">

				<tbody>
					<!-- スタティック曜日表示 -->
					<tr>
						<td width="2%" class="bge">&nbsp;<br>
						</td>
						<td align="center" width="14%" class="days"><b>月</b></td>
						<td align="center" width="14%" class="days"><b>火</b></td>
						<td align="center" width="14%" class="days"><b>水</b></td>
						<td align="center" width="14%" class="days"><b>木</b></td>
						<td align="center" width="14%" class="days"><b>金</b></td>
						<td align="center" width="14%" class="dayss"><b>土</b></td>
						<td align="center" width="14%" class="daysh"><b>日</b></td>
					</tr>
					<!-- /スタティック曜日表示 -->

					{foreach from=$aryAllWeekList|smarty:nodefault item=aryWeek}

					<tr>

						<!-- スタティック左週番号 -->
						<td height="80" align="CENTER" width="1%" valign="middle" class="bge">
							週&nbsp;
							<b>&nbsp;&nbsp;</b>
						</td>
						<!-- /スタティック左週番号 -->

						{foreach from=$aryWeek|smarty:nodefault item=aryDayInfo}
						{*<td valign="top" class="holiday">*}
						<td valign="top" class="{$aryDayInfo.CSSCLASS}">
							<table cellspacing="0" cellpadding="3" width="99%">
								<tbody>
									<tr>
										{*<td id="cell1_1269777600" class="holiday">*}
										<td id="cell1_1269777600" class="{$aryDayInfo.CSSCLASS}">
										<big><b><font color="#777777">
										{if ($aryDayInfo.CSSCLASS != 'neighbormonth') && ($bMgr == '1')}
										<a href="{$strBasePath}/Schedule/add?year={$year}&month={$month}&day={$aryDayInfo.DAYNUM}">
										{$aryDayInfo.DAYNUM}<br />
										</a>
										{else}
										{$aryDayInfo.DAYNUM}<br />
										{/if}
										</font></b></big>
										{*&nbsp;&nbsp;&nbsp;*}
										{if $aryDayInfo.HOLIDAYNAME != ''}
										<span color="RED">{$aryDayInfo.HOLIDAYNAME}</span><br />
										{/if}
										{$aryDayInfo.SCHEDHTML}
										</td>
									</tr>
								</tbody>
							</table>
						</td>
						{/foreach}

					</tr>

					{/foreach}

				</tbody>
			</table>
			</td>
		</tr>
	</tbody>
</table>
